import 'package:json_annotation/json_annotation.dart';

part 'notices.g.dart';

@JsonSerializable()
class Notices extends Object {
  @JsonKey(name: 'name')
  String name;

  @JsonKey(name: 'type')
  String type;

  @JsonKey(name: 'page')
  String page;

  Notices(
    this.name,
    this.type,
    this.page,
  );

  factory Notices.fromJson(Map<String, dynamic> srcJson) =>
      _$NoticesFromJson(srcJson);
}
